Create User
Create User
Path Parameters
workspaceName string required
application/json
Request Body
enabledboolean
A boolean value indicating whether the user is enabled (true) or disabled (false).
usernamestring
The username of the new user.
emailstring
Email Id of the new user.
firstNamestring
First Name of the new user.
lastNamestring
Last Name of the new user.
emailVerifiedboolean
A boolean value indicating whether the email is verified (true) or not (false).
Sample Request Body
{
"enabled": "true",
"username": "Groot",
"email": "groot@gmail.com",
"firstName": "Grootan",
"lastName": "Ezto",
"emailVerified": "true"
}
| HTTP STATUS CODE SUMMARY | ||
|---|---|---|
| 200 - OK | Successfully done. | |
| 201 - OK | Successfully created. | |
| 400 - Bad Request | The request was unacceptable, often due to missing a required parameter. | |
| 401 - Unauthorized | Unauthorized access try with correct access. | |
| 402 - Request Failed | The parameters were valid but the request failed. | |
| 403 - Forbidden | The Application doesn't have permissions to perform the request. | |
| 404 - Not Found | The requested resource doesn't exist | |
| 500 - Server Errors | Something went wrong on ezto auth's end. (These are rare.) | |
| 503 - Server Errors | Service temporarily unavailable |
Loading...